package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the CUENTA2 database table.
 * 
 */
//@Entity
//@Table(name="CUENTA2")
public class Cuenta2 implements Serializable {
	private static final long serialVersionUID = 1L;
	private BigDecimal giroId;
	private BigDecimal jurisId;
	private BigDecimal nuUsrs;
	private BigDecimal peJuriId;
	private BigDecimal personaId;
	private String prefCta;
	private String razSoc;
	private BigDecimal represId;
	private String siglas;
	private String tipoOrg;
	private Date tsUltAcc;

    public Cuenta2() {
    }


	@Column(name="GIRO_ID")
	public BigDecimal getGiroId() {
		return this.giroId;
	}

	public void setGiroId(BigDecimal giroId) {
		this.giroId = giroId;
	}


	@Column(name="JURIS_ID", nullable=false, precision=3)
	public BigDecimal getJurisId() {
		return this.jurisId;
	}

	public void setJurisId(BigDecimal jurisId) {
		this.jurisId = jurisId;
	}


	@Column(name="NU_USRS", precision=3)
	public BigDecimal getNuUsrs() {
		return this.nuUsrs;
	}

	public void setNuUsrs(BigDecimal nuUsrs) {
		this.nuUsrs = nuUsrs;
	}


	@Column(name="PE_JURI_ID", nullable=false)
	public BigDecimal getPeJuriId() {
		return this.peJuriId;
	}

	public void setPeJuriId(BigDecimal peJuriId) {
		this.peJuriId = peJuriId;
	}


	@Column(name="PERSONA_ID", nullable=false)
	public BigDecimal getPersonaId() {
		return this.personaId;
	}

	public void setPersonaId(BigDecimal personaId) {
		this.personaId = personaId;
	}


	@Column(name="PREF_CTA", nullable=false, length=12)
	public String getPrefCta() {
		return this.prefCta;
	}

	public void setPrefCta(String prefCta) {
		this.prefCta = prefCta;
	}


	@Column(name="RAZ_SOC", nullable=false, length=100)
	public String getRazSoc() {
		return this.razSoc;
	}

	public void setRazSoc(String razSoc) {
		this.razSoc = razSoc;
	}


	@Column(name="REPRES_ID")
	public BigDecimal getRepresId() {
		return this.represId;
	}

	public void setRepresId(BigDecimal represId) {
		this.represId = represId;
	}


	@Column(length=50)
	public String getSiglas() {
		return this.siglas;
	}

	public void setSiglas(String siglas) {
		this.siglas = siglas;
	}


	@Column(name="TIPO_ORG", nullable=false, length=1)
	public String getTipoOrg() {
		return this.tipoOrg;
	}

	public void setTipoOrg(String tipoOrg) {
		this.tipoOrg = tipoOrg;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_ULT_ACC")
	public Date getTsUltAcc() {
		return this.tsUltAcc;
	}

	public void setTsUltAcc(Date tsUltAcc) {
		this.tsUltAcc = tsUltAcc;
	}

}